package com.example.b_308.myapplication.view.base;

import android.app.Activity;
import android.app.Application;
import android.database.DataSetObservable;
import android.database.DataSetObserver;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.ListAdapter;
import android.widget.SpinnerAdapter;

/**
 * Created by B-308 on 2017/11/15.
 */
public abstract class BaseActivity extends AppCompatActivity implements ListAdapter,SpinnerAdapter {
    private final DataSetObservable mDataSetObservable = new DataSetObservable();

    @Override
    public boolean hasStableIds() {
        return false;
    }

    @Override
    public void registerDataSetObserver(DataSetObserver observer) {
        mDataSetObservable.unregisterObserver(observer);
    }

//   public abstract void onCreate(Bundle savedInstanceState);


}
